package cn.hh.nacos;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.Map;

@FeignClient(name="providerService",path = "/providerService")
public interface ProviderClient {

    //如果不配置 path 这里就要写完整的路径/providerService/info/list
    @PostMapping("/info/list")
    Map<String,Object> queryCust(Map<String,Object> param);
}
